/*
 * @Author: 许旺玉
 * @Description: 用户 -> 商品收藏接口
 * @Date: 2020-06-28 13:57:04
 * @LastEditTime: 2020-07-02 14:40:55
 * @LastEditors: Please set LastEditors
 */ 

import { ajaxGet,ajaxPost} from '@/utlis/request.js'

export function collect(params) {  //收藏商品/取消收藏
    const url = 'user/collect'
    return ajaxGet(url, params)
}

export function Collection_collect(data) {  //用户收藏列表
    const url = 'user/collect'
    return ajaxPost(url, data)
}